FROM python:3.11-slim

MAINTAINER lei.wang

WORKDIR /app

COPY . /app

RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade pip && pip install -i https://mirrors.aliyun.com/pypi/simple/ -r /app/requirements.txt

RUN chmod +x /app/docker/entrypoint.sh

ENTRYPOINT ["/bin/bash", "/app/docker/entrypoint.sh"]
